package com.ant.storage.controller;


import com.ant.storage.common.ResultVo;
import com.ant.storage.service.IExcelDataEntityService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author hzd
 * @since 2025-10-29
 */
@RestController
@RequestMapping("/excel-data-entity")
public class ExcelDataEntityController {
    @Autowired
    IExcelDataEntityService dataEntityService;

    @ApiOperation(value = "通列表获取对应的数据结构列表")
    @GetMapping("/listTree")
    public ResultVo listTree(){
        return ResultVo.success("ok",dataEntityService.listTree());
    }

}
